qr_rank1_update Interface

public interface qr_rank1_update

Module Procedures

private pure subroutine qr_rank1_update_dbl(q, r, u, v)

Computes the rank-1 update to an M-by-N QR factored matrix where , , and such that .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(inout), dimension(:,:) :: q

On input, the original M-by-K orthogonal matrix . On output, the updated matrix .

real(kind=real64), intent(inout), dimension(:,:) :: r

On input, the M-by-N matrix . On output, the updated matrix .

real(kind=real64), intent(in), dimension(:) :: u

The M-element update vector.

real(kind=real64), intent(in), dimension(:) :: v

The N-element update vector.

private pure subroutine qr_rank1_update_cmplx(q, r, u, v)

Computes the rank-1 update to an M-by-N QR factored matrix where , , and such that .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(inout), dimension(:,:) :: q

On input, the original M-by-K orthogonal matrix . On output, the updated matrix .

complex(kind=real64), intent(inout), dimension(:,:) :: r

On input, the M-by-N matrix . On output, the updated matrix .

complex(kind=real64), intent(in), dimension(:) :: u

On input, the M-element update vector. On output, the original content of the array is overwritten.

complex(kind=real64), intent(in), dimension(:) :: v

On input, the N-element update vector. On output, the original content of the array is overwritten.